package net.maku.module.asset.convert;

import net.maku.module.asset.entity.ReceiveItemEntity;
import net.maku.module.asset.vo.ReceiveItemVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_领用项
*
* @author    
*/
@Mapper
public interface ReceiveItemConvert {
    ReceiveItemConvert INSTANCE = Mappers.getMapper(ReceiveItemConvert.class);

    ReceiveItemEntity convert(ReceiveItemVO vo);

    ReceiveItemVO convert(ReceiveItemEntity entity);

    List<ReceiveItemVO> convertList(List<ReceiveItemEntity> list);

}